﻿<%@ Register TagPrefix="ddsc" Namespace="ddscControlLibrary" Assembly="ddscControlLibrary" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CTMD0061.aspx.cs" Inherits="SMAS.CTMD0061" EnableViewStateMac="False" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>海關保稅品異動查詢</title>    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <!-- 網頁樣式區 -->
    <link href="../css/grid.css" type="text/css" rel="stylesheet">
    <link href="../css/global.css" type="text/css" rel="stylesheet">
    <!-- 嵌入外部檔案區 -->
    <script language="JavaScript" src="./js/CTMD0061.js">
    </script>
    <!--指定開新視窗時target = 此page，防止postBack時再開啟一個新視窗 -->
    <base target="_self">
</head>
<body>
    <form id="CTMD0061" method="post" runat="server">
        <!--　　
				主要資料顯示區
			    <外圍的Table，由class=OUTSIDETABLE　來設定外框的寬度 設定cellPadding="0"> 
			-->
        <table class="MAINTABLE" id="Table1" cellspacing="0" cellpadding="0" border="0"
            style="WIDTH: 100%; HEIGHT: 492px">
            <tr>
                <td class="TitleBar">
                    <asp:Label ID="lblCTMD0060" runat="server">海關保稅品異動查詢</asp:Label>-CTMD0061</td>
            </tr>
            <tr>
                <td class="func">
                    <ddsc:ClientButtonCtrl ID="btnHELP" runat="server" Value="說明"></ddsc:ClientButtonCtrl>
                    <ddsc:ClientButtonCtrl ID="btnEXIT" runat="server" ScriptOnclick="DialogBtnExit_OnClick()" Value="離開"></ddsc:ClientButtonCtrl>
                </td>
            </tr>
            <tr>
                <td>
                    <table class="MAINTABLE_INPUT" id="Table3" cellspacing="0" height="30%" cellpadding="0"
                        border="1">
                        <tr>
                            <td class="TDLable" style="WIDTH: 22.92%; HEIGHT: 28px"><font face="新細明體"></font>
                                <asp:Label ID="lblSHEET_NO" runat="server" ForeColor="Black"> 進出倉序號</asp:Label></td>
                            <td style="WIDTH: 4.05%; HEIGHT: 28px" colspan="2">
                                <ddsc:InputBoxCtrl ID="txtSHEET_NO" runat="server" AllowEmpty="False" ReadOnly="True" EnableView="True"></ddsc:InputBoxCtrl></td>
                            <td class="TDLable" style="WIDTH: 11.8%; HEIGHT: 28px">
                                <asp:Label ID="lblIN_OUT_DATE" runat="server" Width="96px" ForeColor="Transparent"> 進出倉日期</asp:Label></td>
                            <td style="WIDTH: 22.59%; HEIGHT: 28px" colspan="2">
                                <ddsc:DateCtrl ID="txtIN_OUT_DATE" runat="server" ReadOnly="True" EnableView="True" EnableSystemDate="True"></ddsc:DateCtrl>
                            </td>
                        </tr>
                        <tr>
                            <td class="TDLable" style="WIDTH: 22.92%"><font face="新細明體"></font>
                                <asp:Label ID="lblSTORE_NO" runat="server">料庫</asp:Label></td>
                            <td style="WIDTH: 4.05%" colspan="2">
                                <ddsc:InputBoxCtrl ID="txtSTORE_NO" runat="server" ReadOnly="True" EnableView="True"></ddsc:InputBoxCtrl></td>
                            <td class="TDLable" style="WIDTH: 11.8%">
                                <asp:Label ID="lblREF_STORE" runat="server">移倉及轉撥之相對庫房</asp:Label></td>
                            <td style="WIDTH: 22.59%" colspan="2">
                                <ddsc:InputBoxCtrl ID="txtREF_STORE" runat="server" ReadOnly="True" EnableView="True"></ddsc:InputBoxCtrl></td>
                        </tr>
                        <tr>
                            <td class="TDLable" style="WIDTH: 22.92%; HEIGHT: 24px">
                                <asp:Label ID="lblCTM_APPLY_NO" runat="server">報關號碼</asp:Label></td>
                            <td style="WIDTH: 4.05%; HEIGHT: 24px" colspan="2">
                                <ddsc:InputBoxCtrl ID="txtCTM_APPLY_NO" runat="server" ReadOnly="True" EnableView="True"></ddsc:InputBoxCtrl></td>
                            <td class="TDLable" style="WIDTH: 10.23%; HEIGHT: 29px">
                                <asp:Label ID="lblTRANS_NO" runat="server">單據號碼</asp:Label></td>
                            <td style="WIDTH: 32.42%; HEIGHT: 29px" colspan="2">
                                <ddsc:InputBoxCtrl ID="txtTRANS_NO" runat="server" ReadOnly="True" EnableView="True"></ddsc:InputBoxCtrl></td>
                        </tr>
                        <tr>
                            <td class="TDLable" style="WIDTH: 22.92%; HEIGHT: 29px">
                                <asp:Label ID="lblIN_OUT" runat="server" Width="48px">進出狀態</asp:Label></td>
                            <td style="WIDTH: 4.05%; HEIGHT: 29px" colspan="5">
                                <ddsc:InputBoxCtrl ID="txtIN_OUT" runat="server" ReadOnly="True" EnableView="True"></ddsc:InputBoxCtrl></td>
                        </tr>
                        <tr>
                            <td class="TDLable" style="WIDTH: 22.92%">
                                <asp:Label ID="lblExecUserId" runat="server" Width="80px">異動者編號</asp:Label></td>
                            <td style="WIDTH: 19.6%">
                                <ddsc:InputBoxCtrl ID="txtUPD_ID" runat="server" ReadOnly="True" TypeMode="text" EnableView="True"></ddsc:InputBoxCtrl></td>
                            <td class="TDLable" style="WIDTH: 16.31%">
                                <asp:Label ID="lblExecDate" runat="server" Width="64px">異動日期</asp:Label></td>
                            <td style="WIDTH: 27.04%"><font face="新細明體"><ddsc:inputboxctrl id="txtUPD_DATE" runat="server" ReadOnly="True" TypeMode="date" EnableView="True">20050509</ddsc:inputboxctrl></font></td>
                            <td class="TDLable" style="WIDTH: 9.86%">
                                <asp:Label ID="lblExecTime" runat="server" Width="69px">異動時間</asp:Label></td>
                            <td style="WIDTH: 20%">
                                <ddsc:InputBoxCtrl ID="txtUPD_TIME" runat="server" ReadOnly="True" TypeMode="time" EnableView="True">095840</ddsc:InputBoxCtrl></td>
                        </tr>
                    </table>
                    <table class="MAINTABLE_INPUT" id="Table4" style="WIDTH: 100%; HEIGHT: 70%" cellspacing="0"
                        cellpadding="0" border="0">
                        <tr>
                            <td width="100%">
                                <!--  明細資料標題區域 -->
                                <table id="DetailTitle" cellspacing="0" cellpadding="0" height="100%" width="100%" border="0"
                                    runat="server" style="WORD-BREAK: break-all">
                                    <tr align="center">
                                        <td class="SplitBar" style="WIDTH: 5%">
                                            <asp:Label ID="lblSEQ" runat="server">Seq</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 11%">
                                            <asp:Label ID="lblORIGINAL_CODE" runat="server">原始轉入料號</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 11%">
                                            <asp:Label ID="lblCODE" runat="server">料號</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 10%">
                                            <asp:Label ID="lblORIGINAL_QTY" runat="server">原始轉入數量</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 10%">
                                            <asp:Label ID="lblTRANS_QTY" runat="server">數量</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 20%">
                                            <asp:Label ID="lblORIGINAL_NO" runat="server">原始報單號</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 10%">
                                            <asp:Label ID="lblORIGINAL_DATE" runat="server">原始報單日期</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 21%">
                                            <asp:Label ID="lblREMARK" runat="server">備註</asp:Label></td>
                                        <td class="SplitBar" style="WIDTH: 2%">
                                            <img src="../images/grid_Refresh.gif" width="13" height="13"></td>
                                    </tr>
                                    <tr height="95%">
                                        <td style="WIDTH: 100%; HEIGHT: 100%" colspan="10">
                                            <!--  明細資料維護區域 -->
                                            <div class="divgrid" style="WIDTH: 100%; HEIGHT: 100%">
                                                <table id="DetailTable" cellspacing="0" cellpadding="0" width="100%" border="0" runat="server">
                                                </table>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <table style="WIDTH: 100%; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 20%; BORDER-BOTTOM-STYLE: none"
            bgcolor="#d1dfbd" border="0">
            <tr>
                <td valign="top">
                    <iframe class="grid" id="ErrMsg" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; WIDTH: 100%; BORDER-BOTTOM: 1px solid; HEIGHT: 100%"
                        src="../ErrHandler.aspx" frameborder="0" scrolling="auto"></iframe>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>

